package com.practice.car.cardataapp.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * total_national_sales
 * @author
 */
@Data
public class TotalNationalSales implements Serializable {
    @TableId
    private Integer idtotalNationalSales;

    /**
     * 国系，如中国，德国，瑞典，等等
     */
    private String national;

    /**
     * proportion：占比，统一是 double 类型，如果是 33.3%，则 proportion=33.3
     */
    private Double proportion;

    private static final long serialVersionUID = 1L;

    @Override
    public int hashCode() {
        int result = 17;
        result = 31 * result + national.hashCode();
        return result;
    }
}
